package com.chb.sso.feign;

import com.chb.sso.factory.LogInfoFactory;
import com.hos.entity.sys.LoginInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author ：张家琪
 * @date ：Created in 2023/12/26 16:22
 * @description：
 * @modified By：
 * @version:
 */
@FeignClient(name = "hos-system", fallbackFactory = LogInfoFactory.class)
public interface LogInfoFeign {

    @PostMapping("system/logInfo/addLogInfo")
    LoginInfo addLogInfo(@RequestBody LoginInfo loginInfo);

}
